Page({
  data: {
    communities: [
      { id: 1, name: "北京新馨苑" },
      { id: 2, name: "北京西三旗花园" }
    ]
  },
  
  selectCommunity: function(e) {
    const id = e.currentTarget.dataset.id;
    wx.navigateTo({
      url: `/pages/myHouse/?id=${id}`
    });
  }
})